package cn.itcast.spring.demo8;

import org.springframework.stereotype.Component;

@Component//(value="mycat")
public class Cat {

	public void catVoice(){
		System.out.println("喵喵喵");
	}

}
